package com.xy;

/**
 * @author 谢阳
 * @version 1.8.0_131
 * @date 2022/6/22 14:55
 * @description
 */
public class PurchaseRequest {
    private int type = 0; // 请求类型
    private double price = .0d; // 请求金额
    private int id = 0;// 请求编号

    public PurchaseRequest(int type, double price, int id) {
        this.type = type;
        this.price = price;
        this.id = id;
    }

    public int getType() {
        return type;
    }

    public double getPrice() {
        return price;
    }

    public int getId() {
        return id;
    }
}
